import warnings

warnings.filterwarnings("ignore")
from langchain.tools import StructuredTool
# from .DatabaseQueryTool import DatabaseQuerist

# database_query_tool = DatabaseQuerist(prompts_path="./prompts/tools",
#                                       prompt_file_1="database_querist_1.json",
#                                       prompt_file_2="database_querist_2.json",
#                                       verbose=True).as_tool()

finish_placeholder = StructuredTool.from_function(
    func=lambda: None,
    name="FINISH",
    description="用于表示任务完成(FINISH)的占位符工具。"
)
